
package org.darcy.vo.project;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Schema(description="项目统计数据")
@Getter
@Setter
public class ProjectSummary implements Serializable {

	private static final long serialVersionUID = 1L;

	// 以下是返回字段

	@Schema(description = "新项目数量")
	private int count1;

	@Schema(description = "进行中项目数量")
	private int count2;

	@Schema(description = "完成项目数量")
	private int count3;

	@Schema(description = "续签率")
	private int count4;

	@Schema(description = "每月项目情况")
	private Map<String, List<Integer>> monthData;

	@Schema(description = "项目明细分类")
	private List<String> xAxis;

	@Schema(description = "进行中项目")
	private List<Integer> seriesData1;

	@Schema(description = "进新项目")
	private List<Integer> seriesData2;

	@Schema(description = "完成项目")
	private List<Integer> seriesData3;
	
	@Schema(description = "按月统计：新项目")
	private int[] monthData1;
	
	@Schema(description = "按月统计：完成项目")
	private int[] monthData2;

	// 以下是查询条件

	@Schema(description = "部门id")
	private Integer deptId;
	
	@Schema(description = "部门id列表")
	private List<Integer> deptIdList;

	@Schema(description = "开始时间")
	private Date queryBegin;

	@Schema(description = "结束时间")
	private Date queryEnd;
}
